<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="/static/index/css/public.css" rel="stylesheet" type="text/css">
<title>刘默生博文列表页</title>
	<style>
		.pagelist{
			margin:35px auto 0;
			text-align: center;
		}
		.pagination{
			text-align: center;
			margin:auto;
			width:300px;
		}
		.pagination li{
			float:left;
			height: 30px;
			line-height: 30px;
			font-size: 16px;
		}
		.disabled{
			float:left;
		}
		.active{
			background-color:rgba(75,140,202);
			color:#fff;
			height: 40px;
			line-height: 40px;
		}
	</style>
</head>

<body>
<!--项部导航栏-->
<div class="topbar">
	<div class="content">
		<div class="divL">
			<a href="javascript:void(0)">设为首页</a> 
			<a href="javascript:void(0)">加入收藏</a>
		</div>
		<div class="divR">
			<span>欢迎，<font color="red">{$Think.session.msg_info.name}</font></span>
			<a href="/admin/index/index">后台管理</a>
			<a href="/admin/base/logoutExit">退出管理</a>
		</div>
	</div>
</div><!--//顶部导航栏-->

<!--博客背景-->
<div class="blogbg">
	<div class="header">
		<div class="title">
			<h2>刘默生的博客</h2>
			<p><a href="javascript:void(0)">http://www.2016.cn/index.php</a></p>
		</div>
		<div class="menu">
			<ul>
				<li><a href="index.html">首页</a></li>
				<li><a href="bloglist.html" class="current">博文目录</a></li>
			</ul>
		</div>
	</div>
</div><!--//博客背景-->

<!--博客主体-->
<div class="contains">
<!--左边栏-->
<div class="left">
	<div class="toptitle">博文列表</div>
	<!--博文简介-->
	<div class="bloglist">
		<ul>
		{foreach $artlist as $v}

			<li>
				<a href="{:url('index/index/content',['id' => $v.id])}">{$v.title}</a>
				<span>{$v.addate|date='Y-m-d H:i:s',###}</span>
			</li>
		{/foreach}
		</ul>
	</div><!--//博文列表-->

	<!--分页代码-->
	<div class="pagelist">
		{$artlist->render()}
	</div><!--//分页代码-->
</div><!--//左边栏-->
<!--右边栏-->
<div class="right">
	<!--文章标题搜索-->
	<div class="search">
		<div class="title">文章标题搜索</div>
		<div class="content">
			<form name="form1" method="post" action="">
				<input class="search" type="text" name="title">
				<input type="submit" value="搜索">
			</form>
		</div>
	</div><!--//文章标题搜索-->
	<!--文章分类-->
	<div class="category">
		<div class="title">文章分类</div>
		<div class="content">
			<ul>
				{foreach $catelist as $v}
					<li>
						<a href="javascript:void(0)">
							<?php echo str_repeat('--', $v->level*2) ?>
							{$v.classname}
						</a>
					</li>
				{/foreach}
			</ul>
		</div>
	</div><!--//文章分类-->
	<!--最新评论-->
	<!--<div class="comment">
		<div class="title">最新评论</div>
		<div class="content">
			<ul>
				<li>
					<div>张三丰<span>2015-10-12 10:12</span></div>
					<a href="javascript:void(0)">竟然还有这样的事情，真是可恨</a>
				</li>
				<li>
					<div>张三丰<span>2015-10-12 10:12</span></div>
					<a href="javascript:void(0)">竟然还有这样的事情，真是可恨</a>
				</li>
				<li>
					<div>张三丰<span>2015-10-12 10:12</span></div>
					<a href="javascript:void(0)">竟然还有这样的事情，真是可恨</a>
				</li>
			</ul>
		</div>
	</div>-->
	<!--//最新评论-->
	<!--文章归档-->
	<div class="category-date">
		<div class="title">文章归档</div>
		<div class="content">
			<ul>
				{foreach $months as $v}
					<li><a href="javascript:void(0)">{$v.months}</a> ({$v.records})</li>
				{/foreach}
			</ul>
		</div>
	</div><!--//文章归档-->
	<!--友情链接-->
	<div class="links">
		<div class="title">友情链接</div>
		<div class="content">
			<ul>
				{foreach $links as $v}
					<li><a href="javascript:void(0)">{$v.domain}</a></li>
				{/foreach}
			</ul>
		</div>
	</div><!--//友情链接-->
</div><!--//右边栏-->
<div class="clear"></div>
</div><!--//博客主体-->

<!--网页底部-->
<div class="footer">
	版权所有 2006 - 2050 刘默生   地址：北京市   邮编：100096<br />电话：暂无   京ICP备19054611号
</div><!--//网页底部-->
</body>
</html>
